package com.yc.txx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 天下行租车-用车表-10
 * </p>
 *
 * @author ly
 * @since 2025-1-2
 */
@TableName("txx_lease")
public class TxxLease implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 车辆ID
     */
    private Integer cid;

    /**
     * 用户ID
     */
    private Integer uid;

    /**
     * 订单时间
     */
    private LocalDateTime orderTime;

    /**
     * 提车时间
     */
    private LocalDateTime outTime;

    /**
     * 还车时间
     */
    private LocalDateTime backTime;

    /**
     * 借出日期: 2023-01-01,2023-01-02
     */
    private String days;

    /**
     * 金额
     */
    private BigDecimal money;

    /**
     * 状态: 支付,提车,还车
     */
    private String state;

    /**
     * 备注: 车辆是否损坏, 赔偿情况...
     */
    private String remark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public LocalDateTime getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(LocalDateTime orderTime) {
        this.orderTime = orderTime;
    }

    public LocalDateTime getOutTime() {
        return outTime;
    }

    public void setOutTime(LocalDateTime outTime) {
        this.outTime = outTime;
    }

    public LocalDateTime getBackTime() {
        return backTime;
    }

    public void setBackTime(LocalDateTime backTime) {
        this.backTime = backTime;
    }

    public String getDays() {
        return days;
    }

    public void setDays(String days) {
        this.days = days;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "TxxLease{" +
                "id=" + id +
                ", cid=" + cid +
                ", uid=" + uid +
                ", orderTime=" + orderTime +
                ", outTime=" + outTime +
                ", backTime=" + backTime +
                ", days=" + days +
                ", money=" + money +
                ", state=" + state +
                ", remark=" + remark +
                "}";
    }
}